package com.design.状态模式;

public class TestMain {

	public static void main(String[] args) {
		
		State state = new BookedState();
		state.handler();
		state = new FreeState();
		state.handler();
		
	}
	
}
